<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<!--引入vue-->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<div id="app">
  <cpn :c-Info="info"></cpn>
</div>
<template id="cpn">
  <h2>{{cInfo}}</h2>
</template>
<script>
  const cpn ={
    template:'#cpn',
    props:{
      //驼峰标识
      cInfo:{
        type:Object,
        default(){
          return{

          }
        }
      }
    }
  }
  const app = new Vue({
    el: "#app",
    data:{
      message:"Hello zk I am Vue !",
      info:{
        name:'zk',
        age:20,
        height:1.90
      }
    },
    components:{
      cpn
    }
  })
</script>
</body>
</html>
